package com.udaos.models.allot;

import org.nutz.dao.entity.annotation.*;

import com.udaos.common.base.Model;

import java.io.Serializable;
/**
* @author mutaotao
* @time   2017-01-22 12:32:53
*/
@Table("ud_allot_agreement")
public class Ud_allot_agreement extends Model implements Serializable {
	private static final long serialVersionUID = 1L;
	@Column
	@Name
	@Prev(els = {@EL("uuid()")})
	private String id;
	@Column
	private String company_id;
	@Column
	private String school_id;
	@Column
	private String product_type;
	@Column
	private double company_ratio;
	@Column
	private double school_ratio;
	@Column
	private double trainer_ratio;
	@Column
	private String createBy;
	@Column
	private Integer createAt;
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id=id;
	}
	public String getCompany_id()
	{
		return company_id;
	}
	public void setCompany_id(String company_id)
	{
		this.company_id=company_id;
	}
	public String getSchool_id()
	{
		return school_id;
	}
	public void setSchool_id(String school_id)
	{
		this.school_id=school_id;
	}
	public String getProduct_type()
	{
		return product_type;
	}
	public void setProduct_type(String product_type)
	{
		this.product_type=product_type;
	}
	public double getCompany_ratio()
	{
		return company_ratio;
	}
	public void setCompany_ratio(double company_ratio)
	{
		this.company_ratio=company_ratio;
	}
	public double getSchool_ratio()
	{
		return school_ratio;
	}
	public void setSchool_ratio(double school_ratio)
	{
		this.school_ratio=school_ratio;
	}
	public double getTrainer_ratio()
	{
		return trainer_ratio;
	}
	public void setTrainer_ratio(double trainer_ratio)
	{
		this.trainer_ratio=trainer_ratio;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Integer getCreateAt() {
		return createAt;
	}
	public void setCreateAt(Integer createAt) {
		this.createAt = createAt;
	}

}